home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hplj5000.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  43.5 KB  |  1,565 lines

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.108"
  3. *GPDFileName: "hplj5000.gpd"
  4. *Include: "StdNames.gpd"
  5. *Include: "ttfsub.gpd"
  6. *ModelName: "HP LaserJet 5000 Series PCL"
  7. *MasterUnits: PAIR(1200, 1200)
  8. *ResourceDLL: "pcl5eres.dll"
  9. *HelpFile: "hpcljx.hlp"
  10.  
  11. *Feature: RESDLL
  12. {
  13.     *Option: FontRes
  14.     {
  15.         *Name: "hpcfont.dll"
  16.     }
  17. }
  18. *PrinterType: PAGE
  19. *MaxCopies: 999
  20. *FontCartSlots: 3
  21. *PrintRate: 17
  22. *PrintRatePPM: 17
  23. *PrintRateUnit: PPM
  24.  
  25. *Feature: Orientation
  26. {
  27.     *rcNameID: =ORIENTATION_DISPLAY
  28.     *DefaultOption: PORTRAIT
  29.     *Option: PORTRAIT
  30.     {
  31.         *rcNameID: =PORTRAIT_DISPLAY
  32.         *Command: CmdSelect
  33.         {
  34.             *Order: DOC_SETUP.2
  35.             *NoPageEject?: TRUE
  36.             *Cmd: "<1B>&l0o1E"
  37.         }
  38.     }
  39.     *Option: LANDSCAPE_CC90
  40.     {
  41.         *rcNameID: =LANDSCAPE_DISPLAY
  42.         *Command: CmdSelect
  43.         {
  44.             *Order: DOC_SETUP.2
  45.             *NoPageEject?: TRUE
  46.             *Cmd: "<1B>&l1o1E"
  47.         }
  48.     }
  49. }
  50. *Feature: InputBin{ *Option: Option1{} *Option: Option2{} *Option: Option3{} *Option: Option4{} *Option: Option6{} *Option: Option7{} *Option: ENVFEED{} }
  51. *Feature: InputBin
  52. {
  53.     *rcNameID: =PAPER_SOURCE_DISPLAY
  54.     *DefaultOption: Option1
  55.     *Option: Option1
  56.     {
  57.         *rcNameID: 271
  58.         *Command: CmdSelect
  59.         {
  60.             *Order: DOC_SETUP.5
  61.             *Cmd: "<1B>&l7H"
  62.         }
  63.     }
  64.     *Option: Option2
  65.     {
  66.         *rcNameID: 276
  67.         *Command: CmdSelect
  68.         {
  69.             *Order: DOC_SETUP.5
  70.             *Cmd: "<1B>&l4H"
  71.         }
  72.     }
  73.     *Option: Option3
  74.     {
  75.         *rcNameID: 277
  76.         *Command: CmdSelect
  77.         {
  78.             *Order: DOC_SETUP.5
  79.             *Cmd: "<1B>&l1H"
  80.         }
  81.     }
  82.     *Option: Option4
  83.     {
  84.         *rcNameID: 410
  85.         *Command: CmdSelect
  86.         {
  87.             *Order: DOC_SETUP.5
  88.             *Cmd: "<1B>&l5H"
  89.         }
  90.     }
  91.     *Option: ENVFEED
  92.     {
  93.         *rcNameID: =ENV_FEED_DISPLAY
  94.         *Command: CmdSelect
  95.         {
  96.             *Order: DOC_SETUP.5
  97.             *Cmd: "<1B>&l6H"
  98.         }
  99.     }
  100.     *Option: Option6
  101.     {
  102.         *rcNameID: 428
  103.         *Command: CmdSelect
  104.         {
  105.             *Order: DOC_SETUP.5
  106.             *Cmd: "<1B>&l8H"
  107.         }
  108.     }
  109.     *Option: Option7
  110.     {
  111.         *rcNameID: 494
  112.         *Command: CmdSelect
  113.         {
  114.             *Order: DOC_SETUP.5
  115.             *Cmd: "<1B>&l2H"
  116.         }
  117.     }
  118. }
  119.  
  120. *Feature: TRAY3
  121. {
  122.     *rcNameID: 410
  123.     *HelpIndex: 12005
  124.     *FeatureType: PRINTER_PROPERTY
  125.     *DefaultOption: FALSE
  126.     *Option: FALSE
  127.     {
  128.         *rcNameID: 444
  129.     }
  130.     *Option: TRUE
  131.     {
  132.         *rcNameID: 443
  133.     }
  134. }
  135. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  136.  
  137. *Feature: TRAY4
  138. {
  139.     *rcNameID: 428
  140.     *HelpIndex: 12005
  141.     *FeatureType: PRINTER_PROPERTY
  142.     *DefaultOption: FALSE
  143.     *Option: FALSE
  144.     {
  145.         *rcNameID: 444
  146.     }
  147.     *Option: TRUE
  148.     {
  149.         *rcNameID: 443
  150.     }
  151. }
  152. *InvalidCombination: LIST(TRAY4.FALSE,InputBin.Option6)
  153.  
  154. *Feature: EnvFeeder
  155. {
  156.     *rcNameID: =ENV_FEED_DISPLAY
  157.     *HelpIndex: 12000
  158.     *FeatureType: PRINTER_PROPERTY
  159.     *DefaultOption: FALSE
  160.     *Option: FALSE
  161.     {
  162.         *rcNameID: 444
  163.     }
  164.     *Option: TRUE
  165.     {
  166.         *rcNameID: 443
  167.     }
  168. }
  169. *InvalidCombination: LIST(EnvFeeder.FALSE,InputBin.ENVFEED)
  170.  
  171. *Feature: DuplexUnit
  172. {
  173.     *FeatureType: PRINTER_PROPERTY
  174.     *rcNameID: 429
  175.     *HelpIndex: 12004
  176.     *DefaultOption: Installed
  177.     *Option: NotInstalled
  178.     {
  179.         *rcNameID: 444
  180.         *DisabledFeatures: LIST(Duplex)
  181.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  182.     }
  183.  
  184.     *Option: Installed
  185.     {
  186.         *rcNameID: 443
  187.     }
  188. }
  189.  
  190. *% printer supports collation only if PrinterHardDisk installed
  191. *% (see CopyCmd and PrinterHardDisk)
  192. *Feature: Collate
  193. {
  194.     *rcNameID: 392 
  195.  
  196.     *DefaultOption: OFF
  197.     *Option: ON
  198.     {
  199.         *rcNameID: =ON_DISPLAY
  200.         *switch: PrinterHardDisk
  201.         {
  202.             *case: FALSE
  203.             {
  204.                 *Command: CmdSelect
  205.                 {
  206.                     *Order: JOB_SETUP.5
  207.                     *% Collate requested but no disk => printer collate disabled
  208.                     *% Print Processor will take care of collated copies
  209.                     *Cmd: ""
  210.                 }
  211.             }
  212.             *case: TRUE
  213.             {
  214.                 *Command: CmdSelect
  215.                 {
  216.                     *Order: JOB_SETUP.5
  217.                     *% Collate requested with disk => printer collate enabled
  218.                     *% Printer will take care of collated copies
  219.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  220.                 }
  221.             }
  222.         }
  223.     }
  224.     *Option: OFF
  225.     {
  226.         *rcNameID: =OFF_DISPLAY
  227.         *Command: CmdSelect
  228.         {
  229.             *Order: JOB_SETUP.5
  230.             *Cmd: ""
  231.         }
  232.     }
  233. }
  234.  
  235. *Feature: PrinterHardDisk
  236. {
  237.     *rcNameID: 430
  238.     *HelpIndex: 12002
  239.     *FeatureType: PRINTER_PROPERTY
  240.     *DefaultOption: FALSE
  241.     *Option: FALSE
  242.     {
  243.         *rcNameID: 444
  244.         *DisabledFeatures: LIST(Collate)
  245.     }
  246.     *Option: TRUE
  247.     {
  248.         *rcNameID: 443
  249.     }
  250. }
  251.  
  252. *Feature: Resolution
  253. {
  254.     *rcNameID: =RESOLUTION_DISPLAY
  255.     *DefaultOption: Option1
  256.     *Option: Option1
  257.     {
  258.         *Name: "600 x 600 " =DOTS_PER_INCH
  259.         *DPI: PAIR(600, 600)
  260.         *TextDPI: PAIR(600, 600)
  261.         *MinStripBlankPixels: 32
  262.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  263.         *SpotDiameter: 100
  264.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  265.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  266.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  267.         *Command: CmdSelect
  268.         {
  269.             *Order: JOB_SETUP.6
  270.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  271.         }
  272.     }
  273.     *Option: Option2
  274.     {
  275.         *Name: "300 x 300 " =DOTS_PER_INCH
  276.         *DPI: PAIR(300, 300)
  277.         *TextDPI: PAIR(300, 300)
  278.         *MinStripBlankPixels: 32
  279.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  280.         *SpotDiameter: 100
  281.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  282.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  283.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  284.         *Command: CmdSelect
  285.         {
  286.             *Order: JOB_SETUP.6
  287.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  288.         }
  289.     }
  290. }
  291.  
  292. *BlockMacro: PaperConstraints
  293. {
  294.     *Constraints: LIST(InputBin.Option3,InputBin.Option4,InputBin.Option6)
  295. }
  296.  
  297. *Feature: PaperSize
  298. {
  299.     *rcNameID: =PAPER_SIZE_DISPLAY
  300.     *DefaultOption: LETTER
  301.     *Option: LETTER
  302.     {
  303.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  304.         *PageProtectMem: 4109
  305.         *Constraints: InputBin.ENVFEED
  306.         *switch: Orientation
  307.         {
  308.             *case: PORTRAIT
  309.             {
  310.                 *PrintableArea: PAIR(9600, 12800)
  311.                 *PrintableOrigin: PAIR(300, 200)
  312.                 *CursorOrigin: PAIR(300, 200)
  313.                 *Command: CmdSelect
  314.                 {
  315.                     *Order: DOC_SETUP.7
  316.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y"
  317.                 }
  318.             }
  319.             *case: LANDSCAPE_CC90
  320.             {
  321.                 *PrintableArea: PAIR(9800, 12720)
  322.                 *PrintableOrigin: PAIR(200, 240)
  323.                 *CursorOrigin: PAIR(200, 12960)
  324.                 *Command: CmdSelect
  325.                 {
  326.                     *Order: DOC_SETUP.7
  327.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  328.                 }
  329.             }
  330.         }
  331.     }
  332.     *Option: LEGAL
  333.     {
  334.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  335.         *PageProtectMem: 5230
  336.         *Constraints: InputBin.ENVFEED
  337.         *switch: Orientation
  338.         {
  339.             *case: PORTRAIT
  340.             {
  341.                 *PrintableArea: PAIR(9600, 16400)
  342.                 *PrintableOrigin: PAIR(300, 200)
  343.                 *CursorOrigin: PAIR(300, 200)
  344.                 *Command: CmdSelect
  345.                 {
  346.                     *Order: DOC_SETUP.7
  347.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  348.                 }
  349.             }
  350.             *case: LANDSCAPE_CC90
  351.             {
  352.                 *PrintableArea: PAIR(9800, 16320)
  353.                 *PrintableOrigin: PAIR(200, 240)
  354.                 *CursorOrigin: PAIR(200, 16560)
  355.                 *Command: CmdSelect
  356.                 {
  357.                     *Order: DOC_SETUP.7
  358.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  359.                 }
  360.             }
  361.         }
  362.     }
  363.     *Option: EXECUTIVE
  364.     {
  365.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  366.         *PageProtectMem: 4109
  367.         *Constraints: InputBin.ENVFEED
  368.         *switch: Orientation
  369.         {
  370.             *case: PORTRAIT
  371.             {
  372.                 *PrintableArea: PAIR(8100, 12200)
  373.                 *PrintableOrigin: PAIR(300, 200)
  374.                 *CursorOrigin: PAIR(300, 200)
  375.                 *Command: CmdSelect
  376.                 {
  377.                     *Order: DOC_SETUP.7
  378.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y"
  379.                 }
  380.             }
  381.             *case: LANDSCAPE_CC90
  382.             {
  383.                 *PrintableArea: PAIR(8300, 12120)
  384.                 *PrintableOrigin: PAIR(200, 240)
  385.                 *CursorOrigin: PAIR(200, 12360)
  386.                 *Command: CmdSelect
  387.                 {
  388.                     *Order: DOC_SETUP.7
  389.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  390.                 }
  391.             }
  392.         }
  393.     }
  394.     *Option: A3
  395.     {
  396.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  397.         *PageProtectMem: 9667
  398.         *Constraints: InputBin.ENVFEED
  399.         *switch: Orientation
  400.         {
  401.             *case: PORTRAIT
  402.             {
  403.                 *PrintableArea: PAIR(13462, 19442)
  404.                 *PrintableOrigin: PAIR(284, 200)
  405.                 *CursorOrigin: PAIR(284, 200)
  406.                 *Command: CmdSelect
  407.                 {
  408.                     *Order: DOC_SETUP.7
  409.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8077x11665Y"
  410.                 }
  411.             }
  412.             *case: LANDSCAPE_CC90
  413.             {
  414.                 *PrintableArea: PAIR(13630, 19370)
  415.                 *PrintableOrigin: PAIR(200, 236)
  416.                 *CursorOrigin: PAIR(200, 19606)
  417.                 *Command: CmdSelect
  418.                 {
  419.                     *Order: DOC_SETUP.7
  420.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11622x8178Y"
  421.                 }
  422.             }
  423.         }
  424.     }
  425.     *Option: A4
  426.     {
  427.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  428.         *PageProtectMem: 4249
  429.         *Constraints: InputBin.ENVFEED
  430.         *switch: Orientation
  431.         {
  432.             *case: PORTRAIT
  433.             {
  434.                 *PrintableArea: PAIR(9352, 13630)
  435.                 *PrintableOrigin: PAIR(284, 200)
  436.                 *CursorOrigin: PAIR(284, 200)
  437.                 *Command: CmdSelect
  438.                 {
  439.                     *Order: DOC_SETUP.7
  440.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5611x8178Y"
  441.                 }
  442.             }
  443.             *case: LANDSCAPE_CC90
  444.             {
  445.                 *PrintableArea: PAIR(9520, 13558)
  446.                 *PrintableOrigin: PAIR(200, 236)
  447.                 *CursorOrigin: PAIR(200, 13794)
  448.                 *Command: CmdSelect
  449.                 {
  450.                     *Order: DOC_SETUP.7
  451.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8135x5712Y"
  452.                 }
  453.             }
  454.         }
  455.     }
  456.     *Option: A5
  457.     {
  458.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  459.         *PageProtectMem: 2125
  460.         *Constraints: InputBin.ENVFEED
  461.         *switch: Orientation
  462.         {
  463.             *case: PORTRAIT
  464.             {
  465.                 *PrintableArea: PAIR(6424, 9520)
  466.                 *PrintableOrigin: PAIR(284, 200)
  467.                 *CursorOrigin: PAIR(284, 200)
  468.                 *Command: CmdSelect
  469.                 {
  470.                     *Order: DOC_SETUP.7
  471.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t3854x5712Y"
  472.                 }
  473.             }
  474.             *case: LANDSCAPE_CC90
  475.             {
  476.                 *PrintableArea: PAIR(6592, 9448)
  477.                 *PrintableOrigin: PAIR(200, 236)
  478.                 *CursorOrigin: PAIR(200, 9684)
  479.                 *Command: CmdSelect
  480.                 {
  481.                     *Order: DOC_SETUP.7
  482.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5669x3955Y"
  483.                 }
  484.             }
  485.         }
  486.     }
  487.     *Option: 11X17
  488.     {
  489.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  490.         *PageProtectMem: 9350
  491.         *Constraints: InputBin.ENVFEED
  492.         *switch: Orientation
  493.         {
  494.             *case: PORTRAIT
  495.             {
  496.                 *PrintableArea: PAIR(12600, 20000)
  497.                 *PrintableOrigin: PAIR(300, 200)
  498.                 *CursorOrigin: PAIR(300, 200)
  499.                 *Command: CmdSelect
  500.                 {
  501.                     *Order: DOC_SETUP.7
  502.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  503.                 }
  504.             }
  505.             *case: LANDSCAPE_CC90
  506.             {
  507.                 *PrintableArea: PAIR(12800, 19920)
  508.                 *PrintableOrigin: PAIR(200, 240)
  509.                 *CursorOrigin: PAIR(200, 20160)
  510.                 *Command: CmdSelect
  511.                 {
  512.                     *Order: DOC_SETUP.7
  513.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y"
  514.                 }
  515.             }
  516.         }
  517.     }
  518.     *Option: B4
  519.     {
  520.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  521.         *PageProtectMem: 6391
  522.         *Constraints: InputBin.ENVFEED
  523.         *switch: Orientation
  524.         {
  525.             *case: PORTRAIT
  526.             {
  527.                 *PrintableArea: PAIR(11572, 16796)
  528.                 *PrintableOrigin: PAIR(284, 200)
  529.                 *CursorOrigin: PAIR(284, 200)
  530.                 *Command: CmdSelect
  531.                 {
  532.                     *Order: DOC_SETUP.7
  533.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6943x10078Y"
  534.                 }
  535.             }
  536.             *case: LANDSCAPE_CC90
  537.             {
  538.                 *PrintableArea: PAIR(11740, 16724)
  539.                 *PrintableOrigin: PAIR(200, 236)
  540.                 *CursorOrigin: PAIR(200, 16960)
  541.                 *Command: CmdSelect
  542.                 {
  543.                     *Order: DOC_SETUP.7
  544.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10034x7044Y"
  545.                 }
  546.             }
  547.         }
  548.     }
  549.     *Option: B5
  550.     {
  551.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  552.         *PageProtectMem: 3198
  553.         *Constraints: InputBin.ENVFEED
  554.         *switch: Orientation
  555.         {
  556.             *case: PORTRAIT
  557.             {
  558.                 *PrintableArea: PAIR(8030, 11740)
  559.                 *PrintableOrigin: PAIR(284, 200)
  560.                 *CursorOrigin: PAIR(284, 200)
  561.                 *Command: CmdSelect
  562.                 {
  563.                     *Order: DOC_SETUP.7
  564.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4818x7044Y"
  565.                 }
  566.             }
  567.             *case: LANDSCAPE_CC90
  568.             {
  569.                 *PrintableArea: PAIR(8198, 11668)
  570.                 *PrintableOrigin: PAIR(200, 236)
  571.                 *CursorOrigin: PAIR(200, 11904)
  572.                 *Command: CmdSelect
  573.                 {
  574.                     *Order: DOC_SETUP.7
  575.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t7001x4919Y"
  576.                 }
  577.             }
  578.         }
  579.     }
  580.     *Option: JAPANESE_POSTCARD
  581.     {
  582.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  583.         *PageProtectMem: 4109
  584.         *Constraints: InputBin.ENVFEED
  585.         *Constraints: Duplex.VERTICAL
  586.         *Constraints: Duplex.HORIZONTAL
  587.         *InsertBlock: =PaperConstraints
  588.         *switch: Orientation
  589.         {
  590.             *case: PORTRAIT
  591.             {
  592.                 *PrintableArea: PAIR(4124, 6592)
  593.                 *PrintableOrigin: PAIR(300, 200)
  594.                 *CursorOrigin: PAIR(300, 200)
  595.                 *Command: CmdSelect
  596.                 {
  597.                     *Order: DOC_SETUP.7
  598.                     *Cmd: "<1B>&l71a8c1E<1B>*p0x0Y<1B>*c0t2474x3955Y"
  599.                 }
  600.             }
  601.             *case: LANDSCAPE_CC90
  602.             {
  603.                 *PrintableArea: PAIR(4324, 6512)
  604.                 *PrintableOrigin: PAIR(200, 240)
  605.                 *CursorOrigin: PAIR(200, 6752)
  606.                 *Command: CmdSelect
  607.                 {
  608.                     *Order: DOC_SETUP.7
  609.                     *Cmd: "<1B>&l71a8c1E<1B>*p0x0Y<1B>*c0t3907x2594Y"
  610.                 }
  611.             }
  612.         }
  613.     }
  614.     *Option: ENV_10
  615.     {
  616.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  617.         *PageProtectMem: 4109
  618.         *Constraints: Duplex.VERTICAL
  619.         *Constraints: Duplex.HORIZONTAL
  620.         *InsertBlock: =PaperConstraints
  621.         *switch: Orientation
  622.         {
  623.             *case: PORTRAIT
  624.             {
  625.                 *PrintableArea: PAIR(4348, 11000)
  626.                 *PrintableOrigin: PAIR(300, 200)
  627.                 *CursorOrigin: PAIR(300, 200)
  628.                 *Command: CmdSelect
  629.                 {
  630.                     *Order: DOC_SETUP.7
  631.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y"
  632.                 }
  633.             }
  634.             *case: LANDSCAPE_CC90
  635.             {
  636.                 *PrintableArea: PAIR(4548, 10920)
  637.                 *PrintableOrigin: PAIR(200, 240)
  638.                 *CursorOrigin: PAIR(200, 11160)
  639.                 *Command: CmdSelect
  640.                 {
  641.                     *Order: DOC_SETUP.7
  642.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y"
  643.                 }
  644.             }
  645.         }
  646.     }
  647.     *Option: ENV_DL
  648.     {
  649.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  650.         *PageProtectMem: 4109
  651.         *Constraints: Duplex.VERTICAL
  652.         *Constraints: Duplex.HORIZONTAL
  653.         *InsertBlock: =PaperConstraints
  654.         *switch: Orientation
  655.         {
  656.             *case: PORTRAIT
  657.             {
  658.                 *PrintableArea: PAIR(4628, 9992)
  659.                 *PrintableOrigin: PAIR(284, 200)
  660.                 *CursorOrigin: PAIR(284, 200)
  661.                 *Command: CmdSelect
  662.                 {
  663.                     *Order: DOC_SETUP.7
  664.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2777x5995Y"
  665.                 }
  666.             }
  667.             *case: LANDSCAPE_CC90
  668.             {
  669.                 *PrintableArea: PAIR(4796, 9920)
  670.                 *PrintableOrigin: PAIR(200, 236)
  671.                 *CursorOrigin: PAIR(200, 10156)
  672.                 *Command: CmdSelect
  673.                 {
  674.                     *Order: DOC_SETUP.7
  675.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y"
  676.                 }
  677.             }
  678.         }
  679.     }
  680.     *Option: ENV_C5
  681.     {
  682.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  683.         *PageProtectMem: 4109
  684.         *Constraints: Duplex.VERTICAL
  685.         *Constraints: Duplex.HORIZONTAL
  686.         *InsertBlock: =PaperConstraints
  687.         *switch: Orientation
  688.         {
  689.             *case: PORTRAIT
  690.             {
  691.                 *PrintableArea: PAIR(7084, 10418)
  692.                 *PrintableOrigin: PAIR(284, 200)
  693.                 *CursorOrigin: PAIR(284, 200)
  694.                 *Command: CmdSelect
  695.                 {
  696.                     *Order: DOC_SETUP.7
  697.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4250x6251Y"
  698.                 }
  699.             }
  700.             *case: LANDSCAPE_CC90
  701.             {
  702.                 *PrintableArea: PAIR(7252, 10346)
  703.                 *PrintableOrigin: PAIR(200, 236)
  704.                 *CursorOrigin: PAIR(200, 10582)
  705.                 *Command: CmdSelect
  706.                 {
  707.                     *Order: DOC_SETUP.7
  708.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6208x4351Y"
  709.                 }
  710.             }
  711.         }
  712.     }
  713.     *Option: ENV_MONARCH
  714.     {
  715.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  716.         *PageProtectMem: 4109
  717.         *Constraints: Duplex.VERTICAL
  718.         *Constraints: Duplex.HORIZONTAL
  719.         *InsertBlock: =PaperConstraints
  720.         *switch: Orientation
  721.         {
  722.             *case: PORTRAIT
  723.             {
  724.                 *PrintableArea: PAIR(4048, 8600)
  725.                 *PrintableOrigin: PAIR(300, 200)
  726.                 *CursorOrigin: PAIR(300, 200)
  727.                 *Command: CmdSelect
  728.                 {
  729.                     *Order: DOC_SETUP.7
  730.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y"
  731.                 }
  732.             }
  733.             *case: LANDSCAPE_CC90
  734.             {
  735.                 *PrintableArea: PAIR(4248, 8520)
  736.                 *PrintableOrigin: PAIR(200, 240)
  737.                 *CursorOrigin: PAIR(200, 8760)
  738.                 *Command: CmdSelect
  739.                 {
  740.                     *Order: DOC_SETUP.7
  741.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5112x2549Y"
  742.                 }
  743.             }
  744.         }
  745.     }
  746.     *Option: ENV_B5
  747.     {
  748.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  749.         *PageProtectMem: 4109
  750.         *Constraints: Duplex.VERTICAL
  751.         *Constraints: Duplex.HORIZONTAL
  752.         *InsertBlock: =PaperConstraints
  753.         *switch: Orientation
  754.         {
  755.             *case: PORTRAIT
  756.             {
  757.                 *PrintableArea: PAIR(7746, 11410)
  758.                 *PrintableOrigin: PAIR(284, 200)
  759.                 *CursorOrigin: PAIR(284, 200)
  760.                 *Command: CmdSelect
  761.                 {
  762.                     *Order: DOC_SETUP.7
  763.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4648x6846Y"
  764.                 }
  765.             }
  766.             *case: LANDSCAPE_CC90
  767.             {
  768.                 *PrintableArea: PAIR(7914, 11338)
  769.                 *PrintableOrigin: PAIR(200, 236)
  770.                 *CursorOrigin: PAIR(200, 11574)
  771.                 *Command: CmdSelect
  772.                 {
  773.                     *Order: DOC_SETUP.7
  774.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6803x4748Y"
  775.                 }
  776.             }
  777.         }
  778.     }
  779.     *Option: CUSTOMSIZE
  780.     {
  781.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  782.         *MinSize: PAIR(3600,6000)          *% min page (3.00" x 5.00")
  783.         *MaxSize: PAIR(14740, 22200)       *% max page (12.28" x 18.5")
  784.         *MaxPrintableWidth: 14740
  785.         *MinLeftMargin: 100
  786.         *CenterPrintable?: FALSE
  787.         *PageProtectMem: 1692
  788.         *InsertBlock: =PaperConstraints
  789.         *Constraints: InputBin.ENVFEED
  790.         *switch: Orientation
  791.         {
  792.             *case: PORTRAIT
  793.             {
  794.                 *CustCursorOriginX:    %d{((PhysPaperWidth - 14740) / 2) + 300}
  795.                 *CustCursorOriginY:    %d{200}
  796.                 *CustPrintableOriginX: %d{300}
  797.                 *CustPrintableOriginY: %d{200}
  798.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 600 }
  799.                 *CustPrintableSizeY:   %d{ PhysPaperLength - 400 }
  800.                 *Command: CmdSelect
  801.                 {
  802.                     *Order: DOC_SETUP.7
  803.                     *Cmd: "<1B>&l101a8c1E<1B>*p0x0Y<1B>*c0t8484x13080Y"
  804.                 }
  805.             }
  806.             *case: LANDSCAPE_CC90
  807.             {
  808.                 *CustCursorOriginX:    %d{((PhysPaperWidth - 14740) / 2) + 200 }
  809.                 *CustCursorOriginY:    %d{21960}
  810.                 *CustPrintableOriginX: %d{200}
  811.                 *CustPrintableOriginY: %d{240}
  812.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  813.                 *CustPrintableSizeY:   %d{ PhysPaperLength - 480 }
  814.                 *Command: CmdSelect
  815.                 {
  816.                     *Order: DOC_SETUP.7
  817.                     *Cmd: "<1B>&l101a8c1E<1B>*p0x0Y<1B>*c0t13032x8604Y"
  818.                 }
  819.             }
  820.         }
  821.     }
  822.  
  823.     *Ifdef: WINNT_50
  824.     *Option: DBL_JAPANESE_POSTCARD_ROTATED
  825.     {
  826.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  827.         *PageProtectMem: 4109
  828.         *Constraints: InputBin.ENVFEED
  829.         *Constraints: Duplex.VERTICAL
  830.         *Constraints: Duplex.HORIZONTAL
  831.         *InsertBlock: =PaperConstraints
  832.         *switch: Orientation
  833.         {
  834.             *case: PORTRAIT
  835.             {
  836.                 *PrintableArea: PAIR(6392,9048)
  837.                 *PrintableOrigin: PAIR(300, 200)
  838.                 *CursorOrigin: PAIR(300, 200)
  839.                 *Command: CmdSelect
  840.                 {
  841.                     *Order: DOC_SETUP.7
  842.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t3835x5429Y"
  843.                 }
  844.             }
  845.             *case: LANDSCAPE_CC90
  846.             {
  847.                 *PrintableArea: PAIR(6592, 8968)
  848.                 *PrintableOrigin: PAIR(200, 240)
  849.                 *CursorOrigin: PAIR(200, 9208)
  850.                 *Command: CmdSelect
  851.                 {
  852.                     *Order: DOC_SETUP.7
  853.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t5381x3955Y"
  854.                 }
  855.             }
  856.         }
  857.     }
  858.     *Option: A6
  859.     {
  860.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  861.         *PageProtectMem: 4109
  862.         *PageDimensions: PAIR(4956,6996)
  863.         *Constraints: InputBin.ENVFEED
  864.         *Constraints: Duplex.VERTICAL
  865.         *Constraints: Duplex.HORIZONTAL
  866.         *InsertBlock: =PaperConstraints
  867.         *switch: Orientation
  868.         {
  869.             *case: PORTRAIT
  870.             {
  871.                 *PrintableArea: PAIR(4392,6592)
  872.                 *PrintableOrigin: PAIR(284, 200)
  873.                 *CursorOrigin: PAIR(284, 200)
  874.                 *Command: CmdSelect
  875.                 {
  876.                     *Order: DOC_SETUP.7
  877.                     *Cmd: "<1B>&l24a8c1E<1B>*p0x0Y<1B>*c0t2635x3955Y"
  878.                 }
  879.             }
  880.             *case: LANDSCAPE_CC90
  881.             {
  882.                 *PrintableArea: PAIR(4560, 6520)
  883.                 *PrintableOrigin: PAIR(200, 236)
  884.                 *CursorOrigin: PAIR(200, 6756)
  885.                 *Command: CmdSelect
  886.                 {
  887.                     *Order: DOC_SETUP.7
  888.                     *Cmd: "<1B>&l24a8c1E<1B>*p0x0Y<1B>*c0t3912x2736Y"
  889.                 }
  890.             }
  891.         }
  892.     }
  893.     *%  Still in *Ifdef: WINNT_50
  894.     *Option: B6_JIS
  895.     {
  896.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  897.         *PageProtectMem: 4109
  898.         *PageDimensions: PAIR(6060,8604)
  899.         *Constraints: InputBin.ENVFEED
  900.         *Constraints: Duplex.VERTICAL
  901.         *Constraints: Duplex.HORIZONTAL
  902.         *InsertBlock: =PaperConstraints
  903.         *switch: Orientation
  904.         {
  905.             *case: PORTRAIT
  906.             {
  907.                 *PrintableArea: PAIR(5460,8004)
  908.                 *PrintableOrigin: PAIR(300, 300)
  909.                 *CursorOrigin: PAIR(300, 180)
  910.                 *Command: CmdSelect
  911.                 {
  912.                     *Order: DOC_SETUP.7
  913.                     *Cmd: "<1B>&l44a8c1E<1B>*p0x0Y<1B>*c0t3276x4802Y"
  914.                 }
  915.             }
  916.             *case: LANDSCAPE_CC90
  917.             {
  918.                 *PrintableArea: PAIR(5580,8004)
  919.                 *PrintableOrigin: PAIR(240,300)
  920.                 *CursorOrigin: PAIR(200, 8304)
  921.                 *Command: CmdSelect
  922.                 {
  923.                     *Order: DOC_SETUP.7
  924.                     *Cmd: "<1B>&l44a8c1E<1B>*p0x0Y<1B>*c0t4802x3348Y"
  925.                 }
  926.             }
  927.         }
  928.     }
  929.     *Endif:   WINNT_50
  930. }
  931.  
  932. *Feature: MediaType
  933. {
  934.     *rcNameID: =MEDIA_TYPE_DISPLAY
  935.     *DefaultOption: AutoSelect
  936.  
  937.     *Option: AutoSelect
  938.     {
  939.         *rcNameID: 271
  940.         *Command: CmdSelect
  941.         {
  942.             *Order: DOC_SETUP.6
  943.             *Cmd: ""
  944.         }
  945.     }
  946.     *Option: Plain
  947.     {
  948.         *rcNameID: 435
  949.         *Command: CmdSelect
  950.         {
  951.             *Order: DOC_SETUP.6
  952.             *Cmd: "<1B>&n6WdPlain"
  953.         }
  954.     }
  955.     *Option: Preprinted
  956.     {
  957.         *rcNameID: 436
  958.         *Command: CmdSelect
  959.         {
  960.             *Order: DOC_SETUP.6
  961.             *Cmd: "<1B>&n11WdPreprinted"
  962.         }
  963.     }
  964.     *Option: Letterhead
  965.     {
  966.         *rcNameID: 437
  967.         *Command: CmdSelect
  968.         {
  969.             *Order: DOC_SETUP.6
  970.             *Cmd: "<1B>&n11WdLetterhead"
  971.         }
  972.     }
  973.     *Option: Transparency
  974.     {
  975.         *rcNameID: =TRANSPARENCY_DISPLAY
  976.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  977.         *Command: CmdSelect
  978.         {
  979.             *Order: DOC_SETUP.6
  980.             *Cmd: "<1B>&n13WdTransparency"
  981.         }
  982.     }
  983.     *Option: Prepunched
  984.     {
  985.         *rcNameID: 438
  986.         *Command: CmdSelect
  987.         {
  988.             *Order: DOC_SETUP.6
  989.             *Cmd: "<1B>&n11WdPrepunched"
  990.         }
  991.     }
  992.     *Option: Labels
  993.     {
  994.         *rcNameID: 439
  995.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  996.         *Command: CmdSelect
  997.         {
  998.             *Order: DOC_SETUP.6
  999.             *Cmd: "<1B>&n7WdLabels"
  1000.         }
  1001.     }
  1002.     *Option: Bond
  1003.     {
  1004.         *rcNameID: 269
  1005.         *Command: CmdSelect
  1006.         {
  1007.             *Order: DOC_SETUP.6
  1008.             *Cmd: "<1B>&n5WdBond"
  1009.         }
  1010.     }
  1011.     *Option: Recycled
  1012.     {
  1013.         *rcNameID: 440
  1014.         *Command: CmdSelect
  1015.         {
  1016.             *Order: DOC_SETUP.6
  1017.             *Cmd: "<1B>&n9WdRecycled"
  1018.         }
  1019.     }
  1020.     *Option: Color
  1021.     {
  1022.         *rcNameID: 441
  1023.         *Command: CmdSelect
  1024.         {
  1025.             *Order: DOC_SETUP.6
  1026.             *Cmd: "<1B>&n6WdColor"
  1027.         }
  1028.     }
  1029.     *Option: CardStock
  1030.     {
  1031.         *rcNameID: 442
  1032.         *Command: CmdSelect
  1033.         {
  1034.             *Order: DOC_SETUP.6
  1035.             *Cmd: "<1B>&n11WdCard Stock"
  1036.         }
  1037.     }
  1038.     *Option: Rough
  1039.     {
  1040.         *rcNameID: 495
  1041.         *Command: CmdSelect
  1042.         {
  1043.             *Order: DOC_SETUP.6
  1044.             *Cmd: "<1B>&n6WdRough"
  1045.         }
  1046.     }
  1047. }
  1048.  
  1049. *Feature: Economode
  1050. {
  1051.     *rcNameID: 377
  1052.     *HelpIndex: 12009
  1053.     *DefaultOption: Option1
  1054.     *Option: Option1
  1055.     {
  1056.         *rcNameID: 266
  1057.         *Command: CmdSelect
  1058.         {
  1059.             *Order: JOB_SETUP.3
  1060.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  1061.         }
  1062.     }
  1063.     *Option: Option2
  1064.     {
  1065.         *rcNameID: 267
  1066.         *Command: CmdSelect
  1067.         {
  1068.             *Order: JOB_SETUP.3
  1069.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  1070.         }
  1071.     }
  1072. }
  1073. *Feature: RET
  1074. {
  1075.     *rcNameID: 378
  1076.     *HelpIndex: 12010
  1077.     *DefaultOption: Option1
  1078.     *Option: Option1
  1079.     {
  1080.         *rcNameID: 296
  1081.         *Command: CmdSelect
  1082.         {
  1083.             *Order: JOB_SETUP.4
  1084.             *Cmd: "@PJL SET RET=ON<0A>"
  1085.         }
  1086.     }
  1087.     *Option: Option2
  1088.     {
  1089.         *rcNameID: 300
  1090.         *Command: CmdSelect
  1091.         {
  1092.             *Order: JOB_SETUP.4
  1093.             *Cmd: "@PJL SET RET=OFF<0A>"
  1094.         }
  1095.     }
  1096. }
  1097. *Feature: Halftone
  1098. {
  1099.     *rcNameID: =HALFTONING_DISPLAY
  1100.     *DefaultOption: HT_PATSIZE_AUTO
  1101.     *Option: HT_PATSIZE_AUTO
  1102.     {
  1103.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1104.     }
  1105.     *Option: HT_PATSIZE_6x6_M
  1106.     {
  1107.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1108.     }
  1109.     *Option: HT_PATSIZE_8x8_M
  1110.     {
  1111.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1112.     }
  1113. }
  1114. *Feature: Memory
  1115. {
  1116.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1117.     *HelpIndex: 12003
  1118.     *DefaultOption: 4MB
  1119. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1120. *% Max memory 96 (+4 on board) = 100
  1121.         *MemConfigMB: PAIR(4, 3)
  1122.         *MemConfigMB: PAIR(8, 7)
  1123.         *MemConfigMB: PAIR(12, 10)
  1124.         *MemConfigMB: PAIR(16, 13)
  1125.         *MemConfigMB: PAIR(20, 17)
  1126.         *MemConfigMB: PAIR(24, 21)
  1127.         *MemConfigMB: PAIR(28, 24)
  1128.         *MemConfigMB: PAIR(32, 28)
  1129.         *MemConfigMB: PAIR(36, 31)
  1130.         *MemConfigMB: PAIR(40, 35)
  1131.         *MemConfigMB: PAIR(44, 39)
  1132.         *MemConfigMB: PAIR(48, 42)
  1133.         *MemConfigMB: PAIR(52, 46)
  1134.         *MemConfigMB: PAIR(56, 49)
  1135.         *MemConfigMB: PAIR(60, 52)
  1136.         *MemConfigMB: PAIR(68, 59)
  1137.         *MemConfigMB: PAIR(72, 64)
  1138.         *MemConfigMB: PAIR(76, 67)
  1139.         *MemConfigMB: PAIR(84, 75)
  1140.         *MemConfigMB: PAIR(100, 89)
  1141. }
  1142.  
  1143. *Feature: Duplex
  1144. {
  1145.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1146.     *DefaultOption: NONE
  1147.     *Option: NONE
  1148.     {
  1149.         *rcNameID: =NONE_DISPLAY
  1150.         *Command: CmdSelect
  1151.         {
  1152.             *Order: DOC_SETUP.3
  1153.             *Cmd: "<1B>&l0S"
  1154.         }
  1155.     }
  1156.     *Option: VERTICAL
  1157.     {
  1158.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1159.         *Command: CmdSelect
  1160.         {
  1161.             *Order: DOC_SETUP.4
  1162.             *Cmd: "<1B>&l1S"
  1163.         }
  1164.     }
  1165.     *Option: HORIZONTAL
  1166.     {
  1167.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1168.         *Command: CmdSelect
  1169.         {
  1170.             *Order: DOC_SETUP.4
  1171.             *Cmd: "<1B>&l2S"
  1172.         }
  1173.     }
  1174. }
  1175. *Feature: PageProtect
  1176. {
  1177.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  1178.     *DefaultOption: OFF
  1179.     *Option: ON
  1180.     {
  1181.         *rcNameID: =ON_DISPLAY
  1182.         *Command: CmdSelect
  1183.         {
  1184.             *Order: JOB_SETUP.2
  1185.             *Cmd: "@PJL SET PAGEPROTECT=A4<0A>"
  1186.         }
  1187.     }
  1188.     *Option: OFF
  1189.     {
  1190.         *rcNameID: =OFF_DISPLAY
  1191.         *Command: CmdSelect
  1192.         {
  1193.             *Order: JOB_SETUP.2
  1194.             *Cmd: "@PJL SET PAGEPROTECT=OFF<0A>"
  1195.         }
  1196.     }
  1197. }
  1198. *%-------------------------------------------------------------------------
  1199. *% Job setup commands
  1200. *%-------------------------------------------------------------------------
  1201. *Command: CmdStartJob
  1202. {
  1203.     *Order: JOB_SETUP.1
  1204.     *Cmd: "<1B>%%-12345X"
  1205. +         "@PJL COMMENT HP LaserJet 5000 Series PCL<0A>"
  1206. }
  1207. *Command: CmdStartDoc
  1208. {
  1209.     *Order: DOC_SETUP.1
  1210.     *Cmd: "<1B>&u600D<1B>*r0F"
  1211. }
  1212. *Command: CmdStartPage
  1213. {
  1214.     *Order: PAGE_SETUP.1
  1215.     *Cmd: "<1B>*b0M<0D>"
  1216. }
  1217. *Command: CmdEndJob
  1218. {
  1219.     *Order: JOB_FINISH.1
  1220.     *Cmd: "<1B>E<1B>%%-12345X"
  1221. }
  1222.  
  1223. *% Only set number of copies if printer collation is not possible.
  1224. *% This should mirror the setting of QTY (see *Feature: Collate).
  1225. *% That is if QTY is set, copies should be 1 else NumOfCopies.
  1226. *switch: Collate
  1227. {
  1228.     *case: OFF
  1229.     {
  1230.         *Command: CmdCopies
  1231.         {
  1232.             *Order: DOC_SETUP.8
  1233.             *% Uncollated copies!  Set copy count to NumOfCopies
  1234.             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1235.         }
  1236.     }
  1237.     *case: ON
  1238.     {
  1239.         *switch: PrinterHardDisk
  1240.         {
  1241.             *case: FALSE
  1242.             {
  1243.                 *Command: CmdCopies
  1244.                 {
  1245.                     *Order: DOC_SETUP.8
  1246.                     *% Collate requested but no disk => printer collate disabled
  1247.                     *% WordPad on Whistler does not handle single page documents correctly.  The
  1248.                     *% Printer hard disk switch ensures the user gets the requested copies.
  1249.                     *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1250.                 }
  1251.             }
  1252.             *case: TRUE
  1253.             {
  1254.                 *Command: CmdCopies
  1255.                 {
  1256.                     *Order: DOC_SETUP.8
  1257.                     *% Collate requested with disk => printer collate enabled
  1258.                     *% Printer will take care of collated copies
  1259.                     *Cmd: "<1B>&l1X"
  1260.                 }
  1261.             }
  1262.         }
  1263.     }
  1264. }
  1265.  
  1266. *RotateCoordinate?: TRUE
  1267. *RotateRaster?: TRUE
  1268. *RotateFont?: TRUE
  1269. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1270. *MemoryUsage: LIST(FONT)
  1271. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1272. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1273. *XMoveThreshold: 0
  1274. *YMoveThreshold: 0
  1275. *XMoveUnit: 600
  1276. *YMoveUnit: 600
  1277. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1278. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1279. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1280. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1281. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1282. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1283. *Command: CmdCR { *Cmd : "<0D>" }
  1284. *Command: CmdLF { *Cmd : "<0A>" }
  1285. *Command: CmdFF { *Cmd : "<0C>" }
  1286. *Command: CmdBackSpace { *Cmd : "<08>" }
  1287. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1288. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1289. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1290. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1291. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1292. *EjectPageWithFF?: TRUE
  1293. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1294. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1295. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1296. *OutputDataFormat: H_BYTE
  1297. *OptimizeLeftBound?: TRUE
  1298. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1299. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1300. *DefaultFont: RESDLL.FontRes.16
  1301. *DefaultCTT: 0
  1302. *CharPosition: BASELINE
  1303. *TTFSEnabled?: TRUE
  1304.  
  1305.  
  1306. *% TT metrics
  1307. *%   Removed all 4 symbol fonts because they weren't printing correctly.  They will be downloaded if client has
  1308. *%   the TT font installed.
  1309. *DeviceFonts: LIST(RESDLL.FontRes.1,RESDLL.FontRes.2,RESDLL.FontRes.3,RESDLL.FontRes.4,RESDLL.FontRes.5,
  1310. +           RESDLL.FontRes.6,RESDLL.FontRes.7,RESDLL.FontRes.8,RESDLL.FontRes.9,RESDLL.FontRes.10,
  1311. +           RESDLL.FontRes.11,RESDLL.FontRes.12,RESDLL.FontRes.13,RESDLL.FontRes.14,RESDLL.FontRes.15,
  1312. +           RESDLL.FontRes.16,RESDLL.FontRes.17,RESDLL.FontRes.18,RESDLL.FontRes.19,RESDLL.FontRes.20,
  1313. +           RESDLL.FontRes.21,RESDLL.FontRes.22,RESDLL.FontRes.23,RESDLL.FontRes.24,RESDLL.FontRes.25,
  1314. +           RESDLL.FontRes.26,RESDLL.FontRes.27,RESDLL.FontRes.28,RESDLL.FontRes.29,RESDLL.FontRes.30,
  1315. +           RESDLL.FontRes.31,RESDLL.FontRes.32,RESDLL.FontRes.33,RESDLL.FontRes.34,RESDLL.FontRes.35,
  1316. +           RESDLL.FontRes.36,RESDLL.FontRes.37,RESDLL.FontRes.38,RESDLL.FontRes.39,RESDLL.FontRes.40,
  1317. +           RESDLL.FontRes.41,RESDLL.FontRes.42,RESDLL.FontRes.43,RESDLL.FontRes.44,RESDLL.FontRes.45,
  1318. +           RESDLL.FontRes.46,RESDLL.FontRes.47,RESDLL.FontRes.49,RESDLL.FontRes.50,
  1319. +           RESDLL.FontRes.51,RESDLL.FontRes.52,RESDLL.FontRes.53,RESDLL.FontRes.54,RESDLL.FontRes.55,
  1320. +           RESDLL.FontRes.56,RESDLL.FontRes.57,RESDLL.FontRes.59,RESDLL.FontRes.60,
  1321. +           RESDLL.FontRes.61,RESDLL.FontRes.62,RESDLL.FontRes.63,RESDLL.FontRes.64,RESDLL.FontRes.65,
  1322. +           RESDLL.FontRes.66,RESDLL.FontRes.67,RESDLL.FontRes.68,RESDLL.FontRes.69,RESDLL.FontRes.70,
  1323. +           RESDLL.FontRes.71,RESDLL.FontRes.72,RESDLL.FontRes.73,RESDLL.FontRes.74,
  1324. +           RESDLL.FontRes.76,RESDLL.FontRes.77,RESDLL.FontRes.78,RESDLL.FontRes.79)
  1325.  
  1326.  
  1327.  
  1328. *% TT font Substituition table for our device fonts
  1329. *% Arial and TNR are substituted in ttfsub.gpd
  1330. *TTFS: AlbertusM
  1331. {
  1332.   *TTFontName: "Albertus Medium"
  1333.   *DevFontName: "Albertus Medium"
  1334. }
  1335. *TTFS: AlbertusX
  1336. {
  1337.   *TTFontName: "Albertus Extra Bold"
  1338.   *DevFontName: "Albertus Extra Bold"
  1339. }
  1340. *TTFS: AntiqueOlive
  1341. {
  1342.   *TTFontName: "Antique Olive"
  1343.   *DevFontName: "Antique Olive"
  1344. }
  1345. *TTFS: CGOmega
  1346. {
  1347.   *TTFontName: "CG Omega"
  1348.   *DevFontName: "CG Omega"
  1349. }
  1350. *TTFS: CGTimes
  1351. {
  1352.   *TTFontName: "CG Times"
  1353.   *DevFontName: "CG Times"
  1354. }
  1355. *TTFS: NewCenturySB
  1356. {
  1357.   *TTFontName: "New Century Schoolbook Roman"
  1358.   *DevFontName: "New Century Schoolbook"
  1359. }
  1360. *TTFS: ClarendonCD
  1361. {
  1362.   *TTFontName: "Clarendon Condensed Bold"
  1363.   *DevFontName: "Clarendon Condensed"
  1364. }
  1365. *TTFS: Coronet
  1366. {
  1367.   *TTFontName: "Coronet"
  1368.   *DevFontName: "Coronet"
  1369. }
  1370. *TTFS: CourierPS
  1371. {
  1372.   *TTFontName: "CourierPS"
  1373.   *DevFontName: "CourierPS"
  1374. }
  1375. *TTFS: Helvetica
  1376. {
  1377.   *TTFontName: "Helvetica"
  1378.   *DevFontName: "Helvetica"
  1379. }
  1380. *TTFS: HelveticaN
  1381. {
  1382.   *TTFontName: "Helvetica Narrow"
  1383.   *DevFontName: "Helvetica Narrow"
  1384. }
  1385. *TTFS: ITCAvantGardeGothicB
  1386. {
  1387.   *TTFontName: "ITC Avant Garde Gothic Book Oblique"
  1388.   *DevFontName: "ITC Avant Garde Gothic"
  1389. }
  1390. *TTFS: ITCAvantGardeGothicD
  1391. {
  1392.   *TTFontName: "ITC Avant Garde Gothic Demi"
  1393.   *DevFontName: "ITC Avant Garde Gothic Demi"
  1394. }
  1395. *TTFS: ITCBookmanDemi
  1396. {
  1397.   *TTFontName: "ITC Bookman Demi"
  1398.   *DevFontName: "ITC Bookman Demi"
  1399. }
  1400. *TTFS: ITCBookmanLight
  1401. {
  1402.   *TTFontName: "ITC Bookman Light"
  1403.   *DevFontName: "ITC Bookman Light"
  1404. }
  1405. *TTFS: ITCZapfChancery
  1406. {
  1407.   *TTFontName: "ITC Zapf Chancery Medium Italic"
  1408.   *DevFontName: "ITC Zapf Chancery"
  1409. }
  1410. *TTFS: LetterGothic
  1411. {
  1412.   *TTFontName: "Letter Gothic"
  1413.   *DevFontName: "Letter Gothic"
  1414. }
  1415. *TTFS: Marigold
  1416. {
  1417.   *TTFontName: "Marigold"
  1418.   *DevFontName: "Marigold"
  1419. }
  1420. *TTFS: Palatino
  1421. {
  1422.   *TTFontName: "Palatino Roman"
  1423.   *DevFontName: "Palatino"
  1424. }
  1425. *TTFS: Times
  1426. {
  1427.   *TTFontName: "Times Roman"
  1428.   *DevFontName: "Times"
  1429. }
  1430. *TTFS: Univers
  1431. {
  1432.   *TTFontName: "Univers Medium"
  1433.   *DevFontName: "Univers"
  1434. }
  1435. *TTFS: UniversCD
  1436. {
  1437.   *TTFontName: "Univers Condensed Medium"
  1438.   *DevFontName: "Univers Condensed"
  1439. }
  1440. *TTFS: CourierNew
  1441. {
  1442.   *TTFontName: "Courier New"
  1443.   *DevFontName: "Courier New"
  1444. }
  1445. *% These 4 fonts need to be substituted to match the name that applications use to select the font.  For
  1446. *% some reason the names are different.
  1447. *TTFS: ClarendonCD1
  1448. {
  1449.   *TTFontName: "Clarendon Condensed"
  1450.   *DevFontName: "Clarendon Condensed"
  1451. }
  1452. *TTFS: Times1
  1453. {
  1454.   *TTFontName: "Times"
  1455.   *DevFontName: "Times"
  1456. }
  1457. *TTFS: Univers1
  1458. {
  1459.   *TTFontName: "Univers"
  1460.   *DevFontName: "Univers"
  1461. }
  1462. *TTFS: UniversCD1
  1463. {
  1464.   *TTFontName: "Univers Condensed"
  1465.   *DevFontName: "Univers Condensed"
  1466. }
  1467.  
  1468. *FontCartridge: FC1
  1469. {
  1470.     *rcCartridgeNameID: 322
  1471.     *Fonts: LIST(117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,125)
  1472. }
  1473. *FontCartridge: FC2
  1474. {
  1475.     *rcCartridgeNameID: 323
  1476.     *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
  1477. +                   75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
  1478. +                   91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
  1479. }
  1480. *FontCartridge: FC3
  1481. {
  1482.     *rcCartridgeNameID: 324
  1483.     *Fonts: LIST(31,32,33,34,35,36)
  1484. }
  1485. *FontCartridge: FC4
  1486. {
  1487.     *rcCartridgeNameID: 325
  1488.     *Fonts: LIST(37,38,39,40,41,42,43)
  1489. }
  1490. *FontCartridge: FC5
  1491. {
  1492.     *rcCartridgeNameID: 326
  1493.     *Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
  1494. }
  1495. *FontCartridge: FC6
  1496. {
  1497.     *rcCartridgeNameID: 327
  1498.     *Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
  1499. +                   144,145)
  1500. }
  1501. *FontCartridge: FC7
  1502. {
  1503.     *rcCartridgeNameID: 328
  1504.     *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,62,63,64)
  1505. }
  1506. *FontCartridge: FC8
  1507. {
  1508.     *rcCartridgeNameID: 329
  1509.     *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  1510. }
  1511. *FontCartridge: FC9
  1512. {
  1513.     *rcCartridgeNameID: 330
  1514.     *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
  1515. }
  1516. *FontCartridge: FC10
  1517. {
  1518.     *rcCartridgeNameID: 331
  1519.     *Fonts: LIST(231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,
  1520. +                   247,248)
  1521. }
  1522. *FontCartridge: FC11
  1523. {
  1524.     *rcCartridgeNameID: 332
  1525.     *Fonts: LIST(154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
  1526. +                   170,171,172,173,174,175,176,177,178,179,180,181,182)
  1527. }
  1528. *FontCartridge: FC12
  1529. {
  1530.     *rcCartridgeNameID: 333
  1531.     *Fonts: LIST(183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,
  1532. +                   199,200,201,202,203,204,205,206,207,208)
  1533. }
  1534. *MinFontID: 16534
  1535. *MaxFontID: 32768
  1536. *switch: Resolution
  1537. {
  1538.     *case: Option1
  1539.     {
  1540.         *FontFormat: HPPCL_OUTLINE
  1541.     }
  1542.     *case: Option2
  1543.     {
  1544.         *FontFormat: HPPCL_RES
  1545.     }
  1546. }
  1547. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1548. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1549. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1550. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1551. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1552. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  1553. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  1554. *MinGrayFill: 1
  1555. *MaxGrayFill: 100
  1556. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1557. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1558. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1559. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1560. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  1561. *Command: CmdDownloadPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*c" %d{PatternBrushSize}"W" }
  1562. *Command: CmdSelectPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*v" %d{PatternBrushType}"T" }
  1563.  
  1564.  
  1565.